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-rev20260710-2.0.0</version>
<version>v1-rev20260724-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-rev20260710-2.0.0'
implementation 'com.google.apis:google-api-services-networkservices:v1-rev20260724-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,273 @@
/*
* 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;

/**
* AgentConnectivityTemplate represents a reusable network configuration.
*
* <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 AgentConnectivityTemplate extends com.google.api.client.json.GenericJson {

/**
* Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep
* CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource
* model. The path is immutable once set. Exactly one path can be set.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String accessPath;

/**
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be
* configured.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> accessTypes;

/**
* Output only. The timestamp when the resource was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Optional. A free-text description of the resource. Max length 1024 characters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Optional. Configuration for egress network traffic.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EgressNetworkConfig egressNetworkConfig;

/**
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the
* provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;

/**
* Optional. Set of label tags associated with the AgentConnectivityTemplate resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> labels;

/**
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern
* `projects/locations/agentConnectivityTemplates/`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. The timestamp when the resource was updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;

/**
* Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep
* CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource
* model. The path is immutable once set. Exactly one path can be set.
* @return value or {@code null} for none
*/
public java.lang.String getAccessPath() {
return accessPath;
}

/**
* Required. Immutable. The path of the access. Maps roughly to ingress/egress, though we keep
* CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent Gateway's original resource
* model. The path is immutable once set. Exactly one path can be set.
* @param accessPath accessPath or {@code null} for none
*/
public AgentConnectivityTemplate setAccessPath(java.lang.String accessPath) {
this.accessPath = accessPath;
return this;
}

/**
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be
* configured.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getAccessTypes() {
return accessTypes;
}

/**
* Optional. The types of network access provided to the gateway. Both PUBLIC and PRIVATE can be
* configured.
* @param accessTypes accessTypes or {@code null} for none
*/
public AgentConnectivityTemplate setAccessTypes(java.util.List<java.lang.String> accessTypes) {
this.accessTypes = accessTypes;
return this;
}

/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
public AgentConnectivityTemplate setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Optional. A free-text description of the resource. Max length 1024 characters.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Optional. A free-text description of the resource. Max length 1024 characters.
* @param description description or {@code null} for none
*/
public AgentConnectivityTemplate setDescription(java.lang.String description) {
this.description = description;
return this;
}

/**
* Optional. Configuration for egress network traffic.
* @return value or {@code null} for none
*/
public EgressNetworkConfig getEgressNetworkConfig() {
return egressNetworkConfig;
}

/**
* Optional. Configuration for egress network traffic.
* @param egressNetworkConfig egressNetworkConfig or {@code null} for none
*/
public AgentConnectivityTemplate setEgressNetworkConfig(EgressNetworkConfig egressNetworkConfig) {
this.egressNetworkConfig = egressNetworkConfig;
return this;
}

/**
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the
* provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
* @return value or {@code null} for none
*/
public java.lang.String getEtag() {
return etag;
}

/**
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the
* provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
* @param etag etag or {@code null} for none
*/
public AgentConnectivityTemplate setEtag(java.lang.String etag) {
this.etag = etag;
return this;
}

/**
* Optional. Set of label tags associated with the AgentConnectivityTemplate resource.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getLabels() {
return labels;
}

/**
* Optional. Set of label tags associated with the AgentConnectivityTemplate resource.
* @param labels labels or {@code null} for none
*/
public AgentConnectivityTemplate setLabels(java.util.Map<String, java.lang.String> labels) {
this.labels = labels;
return this;
}

/**
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern
* `projects/locations/agentConnectivityTemplates/`.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern
* `projects/locations/agentConnectivityTemplates/`.
* @param name name or {@code null} for none
*/
public AgentConnectivityTemplate setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}

/**
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
public AgentConnectivityTemplate setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* 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;

/**
* DNS Peering configuration.
*
* <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 DnsPeeringConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. The domain to peer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String domain;

/**
* Optional. The target network resource name for DNS peering. Format:
* projects/{project}/global/networks/{network_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String targetNetwork;

/**
* Optional. The domain to peer.
* @return value or {@code null} for none
*/
public java.lang.String getDomain() {
return domain;
}

/**
* Optional. The domain to peer.
* @param domain domain or {@code null} for none
*/
public DnsPeeringConfig setDomain(java.lang.String domain) {
this.domain = domain;
return this;
}

/**
* Optional. The target network resource name for DNS peering. Format:
* projects/{project}/global/networks/{network_id}
* @return value or {@code null} for none
*/
public java.lang.String getTargetNetwork() {
return targetNetwork;
}

/**
* Optional. The target network resource name for DNS peering. Format:
* projects/{project}/global/networks/{network_id}
* @param targetNetwork targetNetwork or {@code null} for none
*/
public DnsPeeringConfig setTargetNetwork(java.lang.String targetNetwork) {
this.targetNetwork = targetNetwork;
return this;
}

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

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

}
Loading
Loading