From 9409ddad794aa060e888fff5c193a28fd8e1df63 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Fri, 6 Nov 2026 16:47:26 -0800
Subject: [PATCH] chore: regenerate networkservices client
---
.../v1beta1/2.0.0/README.md | 4 +-
.../v1beta1/NetworkServices.java | 875 ++++++++++++++++++
.../v1beta1/model/ExpressLink.java | 403 ++++++++
.../ExpressLinkAuthenticationMethod.java | 90 ++
.../ExpressLinkCloudRunSecurityInfo.java | 99 ++
.../model/ExpressLinkCloudRunSourceInfo.java | 66 ++
...essLinkCloudRunSourceInfoWorkloadInfo.java | 120 +++
.../model/ExpressLinkConnectionStatus.java | 187 ++++
...pressLinkConnectionStatusHostnameInfo.java | 66 ++
.../v1beta1/model/ExpressLinkDestination.java | 78 ++
.../model/ExpressLinkForwardingRuleInfo.java | 91 ++
.../v1beta1/model/ExpressLinkMatch.java | 81 ++
.../model/ExpressLinkPscEndpointInfo.java | 67 ++
...ExpressLinkPscEndpointInfoPscEndpoint.java | 144 +++
.../v1beta1/model/ExpressLinkSource.java | 72 ++
.../model/ListExpressLinksResponse.java | 129 +++
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
18 files changed, 2574 insertions(+), 6 deletions(-)
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLink.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkAuthenticationMethod.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSecurityInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSourceInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSourceInfoWorkloadInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkConnectionStatus.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkConnectionStatusHostnameInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkDestination.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkForwardingRuleInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkMatch.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkPscEndpointInfo.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkPscEndpointInfoPscEndpoint.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkSource.java
create mode 100644 clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ListExpressLinksResponse.java
diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/README.md b/clients/google-api-services-networkservices/v1beta1/2.0.0/README.md
index 6c628eacf8c..4717edc579d 100644
--- a/clients/google-api-services-networkservices/v1beta1/2.0.0/README.md
+++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code NetworkServices networkservices = new NetworkServices(...);}
+ * {@code NetworkServices.ExpressLinks.List request = networkservices.expressLinks().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public ExpressLinks expressLinks() {
+ return new ExpressLinks();
+ }
+
+ /**
+ * The "expressLinks" collection of methods.
+ */
+ public class ExpressLinks {
+
+ /**
+ * Creates a new ExpressLink in a given project and location.
+ *
+ * Create a request for the method "expressLinks.create".
+ *
+ * This request holds the parameters needed by the networkservices server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource of the ExpressLink. Must be in the format `projects/locations`.
+ * @param content the {@link com.google.api.services.networkservices.v1beta1.model.ExpressLink}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.networkservices.v1beta1.model.ExpressLink content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends NetworkServicesRequest{@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 of the ExpressLink. Must be in the format `projects/locations`. + * @param content the {@link com.google.api.services.networkservices.v1beta1.model.ExpressLink} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networkservices.v1beta1.model.ExpressLink content) { + super(NetworkServices.this, "POST", REST_PATH, content, com.google.api.services.networkservices.v1beta1.model.Operation.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 of the ExpressLink. Must be in the format + * `projects/locations`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the ExpressLink. Must be in the format `projects/locations`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource of the ExpressLink. Must be in the format + * `projects/locations`. + */ + 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. Short name of the ExpressLink resource to be created. */ + @com.google.api.client.util.Key + private java.lang.String expressLinkId; + + /** Required. Short name of the ExpressLink resource to be created. + */ + public java.lang.String getExpressLinkId() { + return expressLinkId; + } + + /** Required. Short name of the ExpressLink resource to be created. */ + public Create setExpressLinkId(java.lang.String expressLinkId) { + this.expressLinkId = expressLinkId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single ExpressLink. + * + * Create a request for the method "expressLinks.delete". + * + * This request holds the parameters needed by the networkservices server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. A name of the ExpressLink to delete. Must be in the format + * `projects/locations/expressLinks`. + * @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 NetworkServicesRequest{@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. A name of the ExpressLink to delete. Must be in the format + * `projects/locations/expressLinks`. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(NetworkServices.this, "DELETE", REST_PATH, null, com.google.api.services.networkservices.v1beta1.model.Operation.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/[^/]+/expressLinks/[^/]+$"); + } + } + + @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. A name of the ExpressLink to delete. Must be in the format + * `projects/locations/expressLinks`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. A name of the ExpressLink to delete. Must be in the format + `projects/locations/expressLinks`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. A name of the ExpressLink to delete. Must be in the format + * `projects/locations/expressLinks`. + */ + 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/[^/]+/expressLinks/[^/]+$"); + } + this.name = name; + return this; + } + + /** Optional. The etag of the ExpressLink to delete. */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** Optional. The etag of the ExpressLink to delete. + */ + public java.lang.String getEtag() { + return etag; + } + + /** Optional. The etag of the ExpressLink to delete. */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single ExpressLink. + * + * Create a request for the method "expressLinks.get". + * + * This request holds the parameters needed by the networkservices server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. A name of the ExpressLink to get. Must be in the format `projects/locations/expressLinks`. + * @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 NetworkServicesRequest+ * {@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. A name of the ExpressLink to get. Must be in the format `projects/locations/expressLinks`. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkServices.this, "GET", REST_PATH, null, com.google.api.services.networkservices.v1beta1.model.ExpressLink.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/[^/]+/expressLinks/[^/]+$"); + } + } + + @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. A name of the ExpressLink to get. Must be in the format + * `projects/locations/expressLinks`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. A name of the ExpressLink to get. Must be in the format + `projects/locations/expressLinks`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. A name of the ExpressLink to get. Must be in the format + * `projects/locations/expressLinks`. + */ + 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/[^/]+/expressLinks/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. Determines the information level of the ExpressLink resource returned in the + * API response. + */ + @com.google.api.client.util.Key + private java.lang.String view; + + /** Optional. Determines the information level of the ExpressLink resource returned in the API + response. + */ + public java.lang.String getView() { + return view; + } + + /** + * Optional. Determines the information level of the ExpressLink resource returned in the + * API response. + */ + public Get setView(java.lang.String view) { + this.view = view; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists ExpressLinks in a given project and location. + * + * Create a request for the method "expressLinks.list". + * + * This request holds the parameters needed by the networkservices server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The project and location from which the ExpressLinks should be listed, specified in the + * format `projects/locations`. + * @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 NetworkServicesRequest+ * {@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 project and location from which the ExpressLinks should be listed, specified in the + * format `projects/locations`. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkServices.this, "GET", REST_PATH, null, com.google.api.services.networkservices.v1beta1.model.ListExpressLinksResponse.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 project and location from which the ExpressLinks should be listed, + * specified in the format `projects/locations`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The project and location from which the ExpressLinks should be listed, specified in the + format `projects/locations`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The project and location from which the ExpressLinks should be listed, + * specified in the format `projects/locations`. + */ + 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; + } + + /** Maximum number of ExpressLinks to return per call. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Maximum number of ExpressLinks to return per call. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Maximum number of ExpressLinks to return per call. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * The value returned by the last `ListExpressLinksResponse` Indicates that this is a + * continuation of a prior `ListExpressLinks` call, and that the system should return the + * next page of data. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** The value returned by the last `ListExpressLinksResponse` Indicates that this is a continuation of + a prior `ListExpressLinks` call, and that the system should return the next page of data. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * The value returned by the last `ListExpressLinksResponse` Indicates that this is a + * continuation of a prior `ListExpressLinks` call, and that the system should return the + * next page of data. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Optional. Determines the information level of the ExpressLink resources returned in the + * API response. + */ + @com.google.api.client.util.Key + private java.lang.String view; + + /** Optional. Determines the information level of the ExpressLink resources returned in the API + response. + */ + public java.lang.String getView() { + return view; + } + + /** + * Optional. Determines the information level of the ExpressLink resources returned in the + * API response. + */ + public List setView(java.lang.String view) { + this.view = view; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates the parameters of a single ExpressLink. + * + * Create a request for the method "expressLinks.patch". + * + * This request holds the parameters needed by the networkservices server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. Name of the ExpressLink resource. It matches pattern `projects/locations/expressLinks/`. + * @param content the {@link com.google.api.services.networkservices.v1beta1.model.ExpressLink} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.networkservices.v1beta1.model.ExpressLink content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends NetworkServicesRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Identifier. Name of the ExpressLink resource. It matches pattern `projects/locations/expressLinks/`. + * @param content the {@link com.google.api.services.networkservices.v1beta1.model.ExpressLink} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.networkservices.v1beta1.model.ExpressLink content) { + super(NetworkServices.this, "PATCH", REST_PATH, content, com.google.api.services.networkservices.v1beta1.model.Operation.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/[^/]+/expressLinks/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. Name of the ExpressLink resource. It matches pattern + * `projects/locations/expressLinks/`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. Name of the ExpressLink resource. It matches pattern + `projects/locations/expressLinks/`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Name of the ExpressLink resource. It matches pattern + * `projects/locations/expressLinks/`. + */ + public Patch 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/[^/]+/expressLinks/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ExpressLink + * resource by the update. The fields specified in the update_mask are relative to the + * resource, not the full request. A field will be overwritten if it is in the mask. If + * the user does not provide a mask then all fields will be overwritten. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. Field mask is used to specify the fields to be overwritten in the ExpressLink resource by + the update. The fields specified in the update_mask are relative to the resource, not the full + request. A field will be overwritten if it is in the mask. If the user does not provide a mask then + all fields will be overwritten. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ExpressLink + * resource by the update. The fields specified in the update_mask are relative to the + * resource, not the full request. A field will be overwritten if it is in the mask. If + * the user does not provide a mask then all fields will be overwritten. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + } /** * An accessor for creating requests from the ExtensionBindings collection. diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLink.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLink.java new file mode 100644 index 00000000000..f17b953ebc6 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLink.java @@ -0,0 +1,403 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * ExpressLink provides automated, zero-friction service-to-service secure connectivity across + * network boundaries without manual infrastructure configuration toil. + * + *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 Network Services 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 ExpressLink extends com.google.api.client.json.GenericJson { + + /** + * Output only. Cloud Run security information if the ExpressLink destination is a Cloud Run + * service. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ExpressLinkCloudRunSecurityInfo cloudRunSecurityInfo; + + /** + * Output only. Cloud Run source observability details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ExpressLinkCloudRunSourceInfo cloudRunSourceInfo; + + /** + * Output only. The connection status and negotiated parameters. + * 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 Services 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 ExpressLinkAuthenticationMethod extends com.google.api.client.json.GenericJson { + + /** + * Output only. Credential type supported or used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String credentialType; + + /** + * Output only. Identity type supported or used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String identityType; + + /** + * Output only. Credential type supported or used. + * @return value or {@code null} for none + */ + public java.lang.String getCredentialType() { + return credentialType; + } + + /** + * Output only. Credential type supported or used. + * @param credentialType credentialType or {@code null} for none + */ + public ExpressLinkAuthenticationMethod setCredentialType(java.lang.String credentialType) { + this.credentialType = credentialType; + return this; + } + + /** + * Output only. Identity type supported or used. + * @return value or {@code null} for none + */ + public java.lang.String getIdentityType() { + return identityType; + } + + /** + * Output only. Identity type supported or used. + * @param identityType identityType or {@code null} for none + */ + public ExpressLinkAuthenticationMethod setIdentityType(java.lang.String identityType) { + this.identityType = identityType; + return this; + } + + @Override + public ExpressLinkAuthenticationMethod set(String fieldName, Object value) { + return (ExpressLinkAuthenticationMethod) super.set(fieldName, value); + } + + @Override + public ExpressLinkAuthenticationMethod clone() { + return (ExpressLinkAuthenticationMethod) super.clone(); + } + +} diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSecurityInfo.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSecurityInfo.java new file mode 100644 index 00000000000..82450e7eac2 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkCloudRunSecurityInfo.java @@ -0,0 +1,99 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * CloudRunSecurityInfo provides security details for Cloud Run to Cloud Run ExpressLinks. + * + *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 Network Services 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 ExpressLinkCloudRunSecurityInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. Identifies the level of mTLS transport security in use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mtlsTier; + + /** + * Output only. The inbound server authentication methods required by the destination Cloud Run + * service. + * 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 Services 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 ExpressLinkCloudRunSourceInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. Observability details for Cloud Run source workloads. + * 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 Services 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 ExpressLinkCloudRunSourceInfoWorkloadInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The outbound authentication methods the workload is capable of. + * 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 Services 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 ExpressLinkConnectionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The negotiated credential type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String credentialType; + + /** + * Output only. Code representing the type of error encountered. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String error; + + /** + * Output only. Detailed error message explaining the binding failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * Output only. The list of hostnames that will route to this destination. + * 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 Services 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 ExpressLinkConnectionStatusHostnameInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The hostname string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hostname; + + /** + * Output only. The hostname string. + * @return value or {@code null} for none + */ + public java.lang.String getHostname() { + return hostname; + } + + /** + * Output only. The hostname string. + * @param hostname hostname or {@code null} for none + */ + public ExpressLinkConnectionStatusHostnameInfo setHostname(java.lang.String hostname) { + this.hostname = hostname; + return this; + } + + @Override + public ExpressLinkConnectionStatusHostnameInfo set(String fieldName, Object value) { + return (ExpressLinkConnectionStatusHostnameInfo) super.set(fieldName, value); + } + + @Override + public ExpressLinkConnectionStatusHostnameInfo clone() { + return (ExpressLinkConnectionStatusHostnameInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkDestination.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkDestination.java new file mode 100644 index 00000000000..51de36900a1 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkDestination.java @@ -0,0 +1,78 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * The destination of the traffic. This defines the service that the source wants to connect to. + * + *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 Network Services 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 ExpressLinkDestination extends com.google.api.client.json.GenericJson { + + /** + * Optional. The service URIs to which the ExpressLink resource is bound. Can be one of the + * following (all the service URIs should have the same type): + * `//compute.googleapis.com/projects/regions/serviceAttachments/`; + * `//compute.googleapis.com/projects/regions/forwardingRules/`; + * `//run.googleapis.com/projects/locations/services/`. + * 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 Services 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 ExpressLinkForwardingRuleInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The IP address of the forwarding rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ipAddress; + + /** + * Output only. The port or port range of the forwarding rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String port; + + /** + * Output only. The IP address of the forwarding rule. + * @return value or {@code null} for none + */ + public java.lang.String getIpAddress() { + return ipAddress; + } + + /** + * Output only. The IP address of the forwarding rule. + * @param ipAddress ipAddress or {@code null} for none + */ + public ExpressLinkForwardingRuleInfo setIpAddress(java.lang.String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Output only. The port or port range of the forwarding rule. + * @return value or {@code null} for none + */ + public java.lang.String getPort() { + return port; + } + + /** + * Output only. The port or port range of the forwarding rule. + * @param port port or {@code null} for none + */ + public ExpressLinkForwardingRuleInfo setPort(java.lang.String port) { + this.port = port; + return this; + } + + @Override + public ExpressLinkForwardingRuleInfo set(String fieldName, Object value) { + return (ExpressLinkForwardingRuleInfo) super.set(fieldName, value); + } + + @Override + public ExpressLinkForwardingRuleInfo clone() { + return (ExpressLinkForwardingRuleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkMatch.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkMatch.java new file mode 100644 index 00000000000..793206ecf84 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkMatch.java @@ -0,0 +1,81 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * Match defines the predicate used to match requests to destination services. + * + *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 Network Services 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 ExpressLinkMatch extends com.google.api.client.json.GenericJson { + + /** + * Optional. Specifies the hostname to match against the HTTP request host header. Hostname is the + * fully qualified domain name of a network host, as defined by RFC1123 with the exception that: - + * IPs are not allowed. - Wildcard labels (`*.`) are not allowed. Hostname must be "precise" which + * is a domain name without the terminating dot of a network host (e.g. `foo.example.com`). Note + * that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or + * '-', and must start and end with an alphanumeric character. No other punctuation is allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hostname; + + /** + * Optional. Specifies the hostname to match against the HTTP request host header. Hostname is the + * fully qualified domain name of a network host, as defined by RFC1123 with the exception that: - + * IPs are not allowed. - Wildcard labels (`*.`) are not allowed. Hostname must be "precise" which + * is a domain name without the terminating dot of a network host (e.g. `foo.example.com`). Note + * that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or + * '-', and must start and end with an alphanumeric character. No other punctuation is allowed. + * @return value or {@code null} for none + */ + public java.lang.String getHostname() { + return hostname; + } + + /** + * Optional. Specifies the hostname to match against the HTTP request host header. Hostname is the + * fully qualified domain name of a network host, as defined by RFC1123 with the exception that: - + * IPs are not allowed. - Wildcard labels (`*.`) are not allowed. Hostname must be "precise" which + * is a domain name without the terminating dot of a network host (e.g. `foo.example.com`). Note + * that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or + * '-', and must start and end with an alphanumeric character. No other punctuation is allowed. + * @param hostname hostname or {@code null} for none + */ + public ExpressLinkMatch setHostname(java.lang.String hostname) { + this.hostname = hostname; + return this; + } + + @Override + public ExpressLinkMatch set(String fieldName, Object value) { + return (ExpressLinkMatch) super.set(fieldName, value); + } + + @Override + public ExpressLinkMatch clone() { + return (ExpressLinkMatch) super.clone(); + } + +} diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkPscEndpointInfo.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkPscEndpointInfo.java new file mode 100644 index 00000000000..a2f07187ed6 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkPscEndpointInfo.java @@ -0,0 +1,67 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * Private Service Connect (PSC) endpoint information populated in the Get API responses if the + * ExpressLink resource is bound to a PSC service. + * + *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 Network Services 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 ExpressLinkPscEndpointInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. A list of PSC endpoints mapped to the PSC producer service. + * 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 Services 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 ExpressLinkPscEndpointInfoPscEndpoint extends com.google.api.client.json.GenericJson { + + /** + * Output only. Whether the PSC endpoint is accessible from all regions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowGlobalAccess; + + /** + * Output only. The ForwardingRule resource name of the PSC endpoint. Should match the pattern: + * `projects/regions/forwardingRules/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String forwardingRule; + + /** + * Output only. The IP address of the PSC endpoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pscEndpointAddress; + + /** + * Output only. The resource name of the consumer VPC network. Should match the pattern: + * `projects/global/networks/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vpcNetwork; + + /** + * Output only. Whether the PSC endpoint is accessible from all regions. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowGlobalAccess() { + return allowGlobalAccess; + } + + /** + * Output only. Whether the PSC endpoint is accessible from all regions. + * @param allowGlobalAccess allowGlobalAccess or {@code null} for none + */ + public ExpressLinkPscEndpointInfoPscEndpoint setAllowGlobalAccess(java.lang.Boolean allowGlobalAccess) { + this.allowGlobalAccess = allowGlobalAccess; + return this; + } + + /** + * Output only. The ForwardingRule resource name of the PSC endpoint. Should match the pattern: + * `projects/regions/forwardingRules/`. + * @return value or {@code null} for none + */ + public java.lang.String getForwardingRule() { + return forwardingRule; + } + + /** + * Output only. The ForwardingRule resource name of the PSC endpoint. Should match the pattern: + * `projects/regions/forwardingRules/`. + * @param forwardingRule forwardingRule or {@code null} for none + */ + public ExpressLinkPscEndpointInfoPscEndpoint setForwardingRule(java.lang.String forwardingRule) { + this.forwardingRule = forwardingRule; + return this; + } + + /** + * Output only. The IP address of the PSC endpoint. + * @return value or {@code null} for none + */ + public java.lang.String getPscEndpointAddress() { + return pscEndpointAddress; + } + + /** + * Output only. The IP address of the PSC endpoint. + * @param pscEndpointAddress pscEndpointAddress or {@code null} for none + */ + public ExpressLinkPscEndpointInfoPscEndpoint setPscEndpointAddress(java.lang.String pscEndpointAddress) { + this.pscEndpointAddress = pscEndpointAddress; + return this; + } + + /** + * Output only. The resource name of the consumer VPC network. Should match the pattern: + * `projects/global/networks/`. + * @return value or {@code null} for none + */ + public java.lang.String getVpcNetwork() { + return vpcNetwork; + } + + /** + * Output only. The resource name of the consumer VPC network. Should match the pattern: + * `projects/global/networks/`. + * @param vpcNetwork vpcNetwork or {@code null} for none + */ + public ExpressLinkPscEndpointInfoPscEndpoint setVpcNetwork(java.lang.String vpcNetwork) { + this.vpcNetwork = vpcNetwork; + return this; + } + + @Override + public ExpressLinkPscEndpointInfoPscEndpoint set(String fieldName, Object value) { + return (ExpressLinkPscEndpointInfoPscEndpoint) super.set(fieldName, value); + } + + @Override + public ExpressLinkPscEndpointInfoPscEndpoint clone() { + return (ExpressLinkPscEndpointInfoPscEndpoint) super.clone(); + } + +} diff --git a/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkSource.java b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkSource.java new file mode 100644 index 00000000000..f30cedd0013 --- /dev/null +++ b/clients/google-api-services-networkservices/v1beta1/2.0.0/com/google/api/services/networkservices/v1beta1/model/ExpressLinkSource.java @@ -0,0 +1,72 @@ +/* + * 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.networkservices.v1beta1.model; + +/** + * The source of the traffic. This defines where the connection originates from. + * + *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 Network Services 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 ExpressLinkSource extends com.google.api.client.json.GenericJson { + + /** + * Optional. A list of resources attached to the ExpressLink. The resources can be Cloud Run + * services of the format: `//run.googleapis.com/projects/locations/services/`. The location of + * the resources must match the location of the ExpressLink (unless the ExpressLink is global). + * 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 Services 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 ListExpressLinksResponse extends com.google.api.client.json.GenericJson { + + /** + * List of ExpressLink resources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List