Skip to content

Commit 05ae9ec

Browse files
1 parent 8f40fcf commit 05ae9ec

File tree

11 files changed

+269
-15
lines changed

11 files changed

+269
-15
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-rev20250414-2.0.0</version>
25+
<version>v1-rev20250502-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-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20250502-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
* Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.
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 AllocationOptions extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
35+
* implementation defined strategy is used.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String allocationStrategy;
40+
41+
/**
42+
* Optional. This field must be set only when allocation_strategy is set to
43+
* RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range
44+
* creation requests issued to the same space of peered netwroks.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.Integer firstAvailableRangesLookupSize;
49+
50+
/**
51+
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
52+
* implementation defined strategy is used.
53+
* @return value or {@code null} for none
54+
*/
55+
public java.lang.String getAllocationStrategy() {
56+
return allocationStrategy;
57+
}
58+
59+
/**
60+
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
61+
* implementation defined strategy is used.
62+
* @param allocationStrategy allocationStrategy or {@code null} for none
63+
*/
64+
public AllocationOptions setAllocationStrategy(java.lang.String allocationStrategy) {
65+
this.allocationStrategy = allocationStrategy;
66+
return this;
67+
}
68+
69+
/**
70+
* Optional. This field must be set only when allocation_strategy is set to
71+
* RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range
72+
* creation requests issued to the same space of peered netwroks.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.Integer getFirstAvailableRangesLookupSize() {
76+
return firstAvailableRangesLookupSize;
77+
}
78+
79+
/**
80+
* Optional. This field must be set only when allocation_strategy is set to
81+
* RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range
82+
* creation requests issued to the same space of peered netwroks.
83+
* @param firstAvailableRangesLookupSize firstAvailableRangesLookupSize or {@code null} for none
84+
*/
85+
public AllocationOptions setFirstAvailableRangesLookupSize(java.lang.Integer firstAvailableRangesLookupSize) {
86+
this.firstAvailableRangesLookupSize = firstAvailableRangesLookupSize;
87+
return this;
88+
}
89+
90+
@Override
91+
public AllocationOptions set(String fieldName, Object value) {
92+
return (AllocationOptions) super.set(fieldName, value);
93+
}
94+
95+
@Override
96+
public AllocationOptions clone() {
97+
return (AllocationOptions) super.clone();
98+
}
99+
100+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
@SuppressWarnings("javadoc")
3333
public final class InternalRange extends com.google.api.client.json.GenericJson {
3434

35+
/**
36+
* Optional. Range auto-allocation options, may be set only when auto-allocation is selected by
37+
* not setting ip_cidr_range (and setting prefix_length).
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private AllocationOptions allocationOptions;
42+
3543
/**
3644
* Time when the internal range was created.
3745
* The value may be {@code null}.
@@ -166,6 +174,25 @@ public final class InternalRange extends com.google.api.client.json.GenericJson
166174
@com.google.api.client.util.Key
167175
private java.util.List<java.lang.String> users;
168176

177+
/**
178+
* Optional. Range auto-allocation options, may be set only when auto-allocation is selected by
179+
* not setting ip_cidr_range (and setting prefix_length).
180+
* @return value or {@code null} for none
181+
*/
182+
public AllocationOptions getAllocationOptions() {
183+
return allocationOptions;
184+
}
185+
186+
/**
187+
* Optional. Range auto-allocation options, may be set only when auto-allocation is selected by
188+
* not setting ip_cidr_range (and setting prefix_length).
189+
* @param allocationOptions allocationOptions or {@code null} for none
190+
*/
191+
public InternalRange setAllocationOptions(AllocationOptions allocationOptions) {
192+
this.allocationOptions = allocationOptions;
193+
return this;
194+
}
195+
169196
/**
170197
* Time when the internal range was created.
171198
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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+
* A route next hop that leads to a spoke resource.
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 NextHopSpoke extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer
35+
* is available only in [supported locations](https://cloud.google.com/network-
36+
* connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is
37+
* accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false,
38+
* the route is only accessible to VPC spokes of the connected Hub.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.Boolean siteToSiteDataTransfer;
43+
44+
/**
45+
* The URI of the spoke resource.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String uri;
50+
51+
/**
52+
* Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer
53+
* is available only in [supported locations](https://cloud.google.com/network-
54+
* connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is
55+
* accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false,
56+
* the route is only accessible to VPC spokes of the connected Hub.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.Boolean getSiteToSiteDataTransfer() {
60+
return siteToSiteDataTransfer;
61+
}
62+
63+
/**
64+
* Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer
65+
* is available only in [supported locations](https://cloud.google.com/network-
66+
* connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is
67+
* accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false,
68+
* the route is only accessible to VPC spokes of the connected Hub.
69+
* @param siteToSiteDataTransfer siteToSiteDataTransfer or {@code null} for none
70+
*/
71+
public NextHopSpoke setSiteToSiteDataTransfer(java.lang.Boolean siteToSiteDataTransfer) {
72+
this.siteToSiteDataTransfer = siteToSiteDataTransfer;
73+
return this;
74+
}
75+
76+
/**
77+
* The URI of the spoke resource.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.String getUri() {
81+
return uri;
82+
}
83+
84+
/**
85+
* The URI of the spoke resource.
86+
* @param uri uri or {@code null} for none
87+
*/
88+
public NextHopSpoke setUri(java.lang.String uri) {
89+
this.uri = uri;
90+
return this;
91+
}
92+
93+
@Override
94+
public NextHopSpoke set(String fieldName, Object value) {
95+
return (NextHopSpoke) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public NextHopSpoke clone() {
100+
return (NextHopSpoke) super.clone();
101+
}
102+
103+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ public final class Route extends com.google.api.client.json.GenericJson {
9292
@com.google.api.client.util.Key
9393
private NextHopRouterApplianceInstance nextHopRouterApplianceInstance;
9494

95+
/**
96+
* Immutable. The next-hop spoke for packets on this route.
97+
* The value may be {@code null}.
98+
*/
99+
@com.google.api.client.util.Key
100+
private NextHopSpoke nextHopSpoke;
101+
95102
/**
96103
* Immutable. The destination VPC network for packets on this route.
97104
* The value may be {@code null}.
@@ -300,6 +307,23 @@ public Route setNextHopRouterApplianceInstance(NextHopRouterApplianceInstance ne
300307
return this;
301308
}
302309

310+
/**
311+
* Immutable. The next-hop spoke for packets on this route.
312+
* @return value or {@code null} for none
313+
*/
314+
public NextHopSpoke getNextHopSpoke() {
315+
return nextHopSpoke;
316+
}
317+
318+
/**
319+
* Immutable. The next-hop spoke for packets on this route.
320+
* @param nextHopSpoke nextHopSpoke or {@code null} for none
321+
*/
322+
public Route setNextHopSpoke(NextHopSpoke nextHopSpoke) {
323+
this.nextHopSpoke = nextHopSpoke;
324+
return this;
325+
}
326+
303327
/**
304328
* Immutable. The destination VPC network for packets on this route.
305329
* @return value or {@code null} for none

clients/google-api-services-networkconnectivity/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-networkconnectivity</artifactId>
11-
<version>v1-rev20250414-2.0.0</version>
12-
<name>Network Connectivity API v1-rev20250414-2.0.0</name>
11+
<version>v1-rev20250502-2.0.0</version>
12+
<name>Network Connectivity API v1-rev20250502-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-networkconnectivity/v1/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-rev20250414-2.0.0</version>
25+
<version>v1-rev20250502-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-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20250502-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkconnectivity/v1alpha1/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>v1alpha1-rev20250414-2.0.0</version>
25+
<version>v1alpha1-rev20250502-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:v1alpha1-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1alpha1-rev20250502-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkconnectivity/v1alpha1/2.0.0/com/google/api/services/networkconnectivity/v1alpha1/model/AllocationOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class AllocationOptions extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
34+
* Optional. Allocation strategy. Not setting this field when the allocation is requested means an
3535
* implementation defined strategy is used.
3636
* The value may be {@code null}.
3737
*/
@@ -48,7 +48,7 @@ public final class AllocationOptions extends com.google.api.client.json.GenericJ
4848
private java.lang.Integer firstAvailableRangesLookupSize;
4949

5050
/**
51-
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
51+
* Optional. Allocation strategy. Not setting this field when the allocation is requested means an
5252
* implementation defined strategy is used.
5353
* @return value or {@code null} for none
5454
*/
@@ -57,7 +57,7 @@ public java.lang.String getAllocationStrategy() {
5757
}
5858

5959
/**
60-
* Optional. Allocation strategy Not setting this field when the allocation is requested means an
60+
* Optional. Allocation strategy. Not setting this field when the allocation is requested means an
6161
* implementation defined strategy is used.
6262
* @param allocationStrategy allocationStrategy or {@code null} for none
6363
*/

clients/google-api-services-networkconnectivity/v1alpha1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-networkconnectivity</artifactId>
11-
<version>v1alpha1-rev20250414-2.0.0</version>
12-
<name>Network Connectivity API v1alpha1-rev20250414-2.0.0</name>
11+
<version>v1alpha1-rev20250502-2.0.0</version>
12+
<name>Network Connectivity API v1alpha1-rev20250502-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)