Skip to content

Commit 1bb5993

Browse files
1 parent 490653f commit 1bb5993

File tree

11 files changed

+3313
-5371
lines changed

11 files changed

+3313
-5371
lines changed

clients/google-api-services-networkconnectivity/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-networkconnectivity</artifactId>
25-
<version>v1-rev20250925-2.0.0</version>
25+
<version>v1-rev20251009-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20250925-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20251009-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java

Lines changed: 3093 additions & 4402 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.networkconnectivity.v1.model;
18+
19+
/**
20+
* The specification for automatically creating a DNS record.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Network Connectivity API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AutomatedDnsCreationSpec extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid
35+
* DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and
36+
* hyphens, and must not start or end with a hyphen. Example: "my-service.example.com.",
37+
* "internal."
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String dnsSuffix;
42+
43+
/**
44+
* Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be
45+
* a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters,
46+
* digits, and hyphens, and must not start or end with a hyphen. Example: "my-instance", "db-1"
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String hostname;
51+
52+
/**
53+
* Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30
54+
* seconds will be used.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private String ttl;
59+
60+
/**
61+
* Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid
62+
* DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and
63+
* hyphens, and must not start or end with a hyphen. Example: "my-service.example.com.",
64+
* "internal."
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getDnsSuffix() {
68+
return dnsSuffix;
69+
}
70+
71+
/**
72+
* Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid
73+
* DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and
74+
* hyphens, and must not start or end with a hyphen. Example: "my-service.example.com.",
75+
* "internal."
76+
* @param dnsSuffix dnsSuffix or {@code null} for none
77+
*/
78+
public AutomatedDnsCreationSpec setDnsSuffix(java.lang.String dnsSuffix) {
79+
this.dnsSuffix = dnsSuffix;
80+
return this;
81+
}
82+
83+
/**
84+
* Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be
85+
* a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters,
86+
* digits, and hyphens, and must not start or end with a hyphen. Example: "my-instance", "db-1"
87+
* @return value or {@code null} for none
88+
*/
89+
public java.lang.String getHostname() {
90+
return hostname;
91+
}
92+
93+
/**
94+
* Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be
95+
* a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters,
96+
* digits, and hyphens, and must not start or end with a hyphen. Example: "my-instance", "db-1"
97+
* @param hostname hostname or {@code null} for none
98+
*/
99+
public AutomatedDnsCreationSpec setHostname(java.lang.String hostname) {
100+
this.hostname = hostname;
101+
return this;
102+
}
103+
104+
/**
105+
* Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30
106+
* seconds will be used.
107+
* @return value or {@code null} for none
108+
*/
109+
public String getTtl() {
110+
return ttl;
111+
}
112+
113+
/**
114+
* Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30
115+
* seconds will be used.
116+
* @param ttl ttl or {@code null} for none
117+
*/
118+
public AutomatedDnsCreationSpec setTtl(String ttl) {
119+
this.ttl = ttl;
120+
return this;
121+
}
122+
123+
@Override
124+
public AutomatedDnsCreationSpec set(String fieldName, Object value) {
125+
return (AutomatedDnsCreationSpec) super.set(fieldName, value);
126+
}
127+
128+
@Override
129+
public AutomatedDnsCreationSpec clone() {
130+
return (AutomatedDnsCreationSpec) super.clone();
131+
}
132+
133+
}

clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ConsumerPscConnection.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class ConsumerPscConnection extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Output only. The status of DNS automation for this PSC connection.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private DnsAutomationStatus dnsAutomationStatus;
39+
3340
/**
3441
* The most recent error during operating this connection.
3542
* The value may be {@code null}.
@@ -143,6 +150,23 @@ public final class ConsumerPscConnection extends com.google.api.client.json.Gene
143150
@com.google.api.client.util.Key
144151
private java.lang.String state;
145152

153+
/**
154+
* Output only. The status of DNS automation for this PSC connection.
155+
* @return value or {@code null} for none
156+
*/
157+
public DnsAutomationStatus getDnsAutomationStatus() {
158+
return dnsAutomationStatus;
159+
}
160+
161+
/**
162+
* Output only. The status of DNS automation for this PSC connection.
163+
* @param dnsAutomationStatus dnsAutomationStatus or {@code null} for none
164+
*/
165+
public ConsumerPscConnection setDnsAutomationStatus(DnsAutomationStatus dnsAutomationStatus) {
166+
this.dnsAutomationStatus = dnsAutomationStatus;
167+
return this;
168+
}
169+
146170
/**
147171
* The most recent error during operating this connection.
148172
* @return value or {@code null} for none
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.networkconnectivity.v1.model;
1818

1919
/**
20-
* Message for response to listing Transports.
20+
* The status of DNS automation for a PSC connection.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Network Connectivity API. For a detailed explanation
@@ -28,88 +28,88 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class ListTransportsResponse extends com.google.api.client.json.GenericJson {
31+
public final class DnsAutomationStatus extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* A token identifying a page of results the server should return.
34+
* Output only. The error details if the state is CREATE_FAILED or DELETE_FAILED.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
38-
private java.lang.String nextPageToken;
38+
private GoogleRpcStatus error;
3939

4040
/**
41-
* The list of Transport.
41+
* Output only. The fully qualified domain name of the DNS record.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
45-
private java.util.List<Transport> transports;
45+
private java.lang.String fqdn;
4646

4747
/**
48-
* Unordered list. Locations that could not be reached.
48+
* Output only. The current state of DNS automation.
4949
* The value may be {@code null}.
5050
*/
5151
@com.google.api.client.util.Key
52-
private java.util.List<java.lang.String> unreachable;
52+
private java.lang.String state;
5353

5454
/**
55-
* A token identifying a page of results the server should return.
55+
* Output only. The error details if the state is CREATE_FAILED or DELETE_FAILED.
5656
* @return value or {@code null} for none
5757
*/
58-
public java.lang.String getNextPageToken() {
59-
return nextPageToken;
58+
public GoogleRpcStatus getError() {
59+
return error;
6060
}
6161

6262
/**
63-
* A token identifying a page of results the server should return.
64-
* @param nextPageToken nextPageToken or {@code null} for none
63+
* Output only. The error details if the state is CREATE_FAILED or DELETE_FAILED.
64+
* @param error error or {@code null} for none
6565
*/
66-
public ListTransportsResponse setNextPageToken(java.lang.String nextPageToken) {
67-
this.nextPageToken = nextPageToken;
66+
public DnsAutomationStatus setError(GoogleRpcStatus error) {
67+
this.error = error;
6868
return this;
6969
}
7070

7171
/**
72-
* The list of Transport.
72+
* Output only. The fully qualified domain name of the DNS record.
7373
* @return value or {@code null} for none
7474
*/
75-
public java.util.List<Transport> getTransports() {
76-
return transports;
75+
public java.lang.String getFqdn() {
76+
return fqdn;
7777
}
7878

7979
/**
80-
* The list of Transport.
81-
* @param transports transports or {@code null} for none
80+
* Output only. The fully qualified domain name of the DNS record.
81+
* @param fqdn fqdn or {@code null} for none
8282
*/
83-
public ListTransportsResponse setTransports(java.util.List<Transport> transports) {
84-
this.transports = transports;
83+
public DnsAutomationStatus setFqdn(java.lang.String fqdn) {
84+
this.fqdn = fqdn;
8585
return this;
8686
}
8787

8888
/**
89-
* Unordered list. Locations that could not be reached.
89+
* Output only. The current state of DNS automation.
9090
* @return value or {@code null} for none
9191
*/
92-
public java.util.List<java.lang.String> getUnreachable() {
93-
return unreachable;
92+
public java.lang.String getState() {
93+
return state;
9494
}
9595

9696
/**
97-
* Unordered list. Locations that could not be reached.
98-
* @param unreachable unreachable or {@code null} for none
97+
* Output only. The current state of DNS automation.
98+
* @param state state or {@code null} for none
9999
*/
100-
public ListTransportsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
101-
this.unreachable = unreachable;
100+
public DnsAutomationStatus setState(java.lang.String state) {
101+
this.state = state;
102102
return this;
103103
}
104104

105105
@Override
106-
public ListTransportsResponse set(String fieldName, Object value) {
107-
return (ListTransportsResponse) super.set(fieldName, value);
106+
public DnsAutomationStatus set(String fieldName, Object value) {
107+
return (DnsAutomationStatus) super.set(fieldName, value);
108108
}
109109

110110
@Override
111-
public ListTransportsResponse clone() {
112-
return (ListTransportsResponse) super.clone();
111+
public DnsAutomationStatus clone() {
112+
return (DnsAutomationStatus) super.clone();
113113
}
114114

115115
}

0 commit comments

Comments
 (0)