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

Filter by extension

Filter by extension


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public final class AgentGatewayNetworkConfigEgress extends com.google.api.client
@com.google.api.client.util.Key
private java.lang.String networkAttachment;

/**
* Optional. TrustConfig defines the trust configuration for egress.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AgentGatewayNetworkConfigEgressTrustConfig trustConfig;

/**
* Optional. The URI of the Network Attachment resource.
* @return value or {@code null} for none
Expand All @@ -53,6 +60,23 @@ public AgentGatewayNetworkConfigEgress setNetworkAttachment(java.lang.String net
return this;
}

/**
* Optional. TrustConfig defines the trust configuration for egress.
* @return value or {@code null} for none
*/
public AgentGatewayNetworkConfigEgressTrustConfig getTrustConfig() {
return trustConfig;
}

/**
* Optional. TrustConfig defines the trust configuration for egress.
* @param trustConfig trustConfig or {@code null} for none
*/
public AgentGatewayNetworkConfigEgress setTrustConfig(AgentGatewayNetworkConfigEgressTrustConfig trustConfig) {
this.trustConfig = trustConfig;
return this;
}

@Override
public AgentGatewayNetworkConfigEgress set(String fieldName, Object value) {
return (AgentGatewayNetworkConfigEgress) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -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.networkservices.v1.model;

/**
* TrustConfig defines the trust configuration for egress.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AgentGatewayNetworkConfigEgressTrustConfig extends com.google.api.client.json.GenericJson {

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> pemCertificates;

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getPemCertificates() {
return pemCertificates;
}

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* @param pemCertificates pemCertificates or {@code null} for none
*/
public AgentGatewayNetworkConfigEgressTrustConfig setPemCertificates(java.util.List<java.lang.String> pemCertificates) {
this.pemCertificates = pemCertificates;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-networkservices</artifactId>
<version>v1-rev20260605-2.0.0</version>
<name>Network Services API v1-rev20260605-2.0.0</name>
<version>v1-rev20260610-2.0.0</version>
<name>Network Services API v1-rev20260610-2.0.0</name>
<packaging>jar</packaging>

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public final class AgentGatewayNetworkConfigEgress extends com.google.api.client
@com.google.api.client.util.Key
private java.lang.String networkAttachment;

/**
* Optional. TrustConfig defines the trust configuration for egress.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AgentGatewayNetworkConfigEgressTrustConfig trustConfig;

/**
* Optional. The URI of the Network Attachment resource.
* @return value or {@code null} for none
Expand All @@ -53,6 +60,23 @@ public AgentGatewayNetworkConfigEgress setNetworkAttachment(java.lang.String net
return this;
}

/**
* Optional. TrustConfig defines the trust configuration for egress.
* @return value or {@code null} for none
*/
public AgentGatewayNetworkConfigEgressTrustConfig getTrustConfig() {
return trustConfig;
}

/**
* Optional. TrustConfig defines the trust configuration for egress.
* @param trustConfig trustConfig or {@code null} for none
*/
public AgentGatewayNetworkConfigEgress setTrustConfig(AgentGatewayNetworkConfigEgressTrustConfig trustConfig) {
this.trustConfig = trustConfig;
return this;
}

@Override
public AgentGatewayNetworkConfigEgress set(String fieldName, Object value) {
return (AgentGatewayNetworkConfigEgress) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -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.networkservices.v1beta1.model;

/**
* TrustConfig defines the trust configuration for egress.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AgentGatewayNetworkConfigEgressTrustConfig extends com.google.api.client.json.GenericJson {

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> pemCertificates;

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getPemCertificates() {
return pemCertificates;
}

/**
* Required. PEM encoded root certificates used to validate the identity of the upstream
* servers/destinations during egress connections.
* @param pemCertificates pemCertificates or {@code null} for none
*/
public AgentGatewayNetworkConfigEgressTrustConfig setPemCertificates(java.util.List<java.lang.String> pemCertificates) {
this.pemCertificates = pemCertificates;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-networkservices</artifactId>
<version>v1beta1-rev20260605-2.0.0</version>
<name>Network Services API v1beta1-rev20260605-2.0.0</name>
<version>v1beta1-rev20260610-2.0.0</version>
<name>Network Services API v1beta1-rev20260610-2.0.0</name>
<packaging>jar</packaging>

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

Expand Down
Loading